package com.heima.Test1;

public class PhoneTest {
    public static void main(String[] args) {
    Phone p = new Phone();
    p.brand = "小米";
    p.color = "黑色";
    p.price = 2999;
    System.out.println("品牌："+p.brand+" "+"颜色："+p.color+" "+"价格："+p.price);
    p.sendMessage();
    p.call();

    }
}
